package com.example.dao;

import com.example.entity.PathInfo;
import com.example.vo.PathInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface PathInfoDao extends Mapper<PathInfo> {

    List<PathInfoVo> findAllPage(@Param("name") String name,
                                @Param("station") String station,
                                @Param("start") String start,
                                @Param("end") String end,
                                @Param("startTime") String startTime,
                                @Param("endTime") String endTime);

    List<PathInfoVo> findAll();

}
